package com.zzl.finance.data.dto;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.apidoc.constants.RequiredType;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author ：hyt
 * @description：企业人员
 * @date ：2022/2/16 18:53
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class VoucherUserUpdateDto implements Serializable {
    @ApidocModelProperty(description = "用户id")
    private String id;
    @NotBlank(message = "人员类型不能为空")
    @ApidocModelProperty(description = "人员类型：1 股东、2 法人、3 财务负责人、4 联系人", required = RequiredType.TRUE)
    private Integer personnelType;
    @NotBlank(message = "姓名不能为空")
    @ApidocModelProperty(description = "姓名", required = RequiredType.TRUE)
    private String personName;
    @NotBlank(message = "证件类型不能为空")
    @ApidocModelProperty(description = "证件类型：1 身份证、2 护照、3 外国人居留证、4 港澳居民证、5 台湾居民证", required = RequiredType.TRUE)
    private Integer documentType;
    @NotBlank(message = "证件号码不能为空")
    @ApidocModelProperty(description = "证件号码", required = RequiredType.TRUE)
    private String documentNo;
    @NotBlank(message = "手机号码不能为空")
    @ApidocModelProperty(description = "手机号码", required = RequiredType.TRUE)
    private String userPhone;
    @ApidocModelProperty(description = "电话号码")
    private String telephone;
    @NotBlank(message = "邮箱不能为空")
    @ApidocModelProperty(description = "邮箱", required = RequiredType.TRUE)
    private String userEmail;

    @NotBlank(message = "企业id不能为空")
    @ApidocModelProperty(description = "企业id", required = RequiredType.TRUE)
    private String enterpriseId;
}
